package tuio;

import java.awt.Component;
import java.awt.event.MouseEvent;

/**
 * @author Charles Perin
 * 29 mars 2011
 * LIMSI - INRIA Rennes
 * charles.perin@free.fr
 *
 */
public class SpecialTouchEvent extends MouseEvent{
	
	private static final long serialVersionUID = -253692548975078513L;
	
	public static final int LONG_TOUCH = 0;

	private int touchModifier;
	
	
	public SpecialTouchEvent(Component source, int id, long when, int modifiers, 
			int x, int y, int clickCount, boolean popupTrigger, int touchModifier) {
		super(source, id, when, modifiers, x, y, clickCount, popupTrigger);
		
		setTouchModifier(touchModifier);
	}


	public void setTouchModifier(int touchModifier) {
		this.touchModifier = touchModifier;
	}


	public int getTouchModifier() {
		return touchModifier;
	}
	

}
